package com.device.grant.dao;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.device.grant.pojo.ApparatusGroup;
import com.device.grant.utils.ColumnCompator;

public interface ApparatusGroupDao {

	List<ApparatusGroup> getApparatusGroup(Integer page, Integer rows, Map<String, Object> params, List<String> blearParams,
			Map<String, ColumnCompator> compators, String orderBy);

	boolean insertApparatusGroup(ApparatusGroup apparatusGroup);

	Integer countApparatusGroup(Map<String, Object> conditions, List<String> blearParams, Map<String, ColumnCompator> compators);

	boolean updateApparatusGroup(Map<String, Object> changeInfos, Map<String, Object> conditions);

	List<ApparatusGroup> queryApparatusGroupsInIds(Set<Integer> ids);

	List<ApparatusGroup> queryApparatusGroup();
}
